package com.wf.smartcomm.server.service;

import com.wf.smartcomm.server.bean.Message;
import com.wf.smartcomm.server.bean.User;
import com.wf.smartcomm.server.bean.Village;
import com.wf.smartcomm.server.model.Page;


/** 
 * @author 38884306@qq.com  
 * @version 创建时间：2015-5-20 下午7:41:20 
 * 
 */
public interface MessageService {
	public void save(Message message);
	public void listByUser(User user,Page page);
	public void listByVillage(Village village,Page page);
	public Message get(String id);
	public void delete(String messageId);
	public void deleteAll(User user);
	public void readMsg(String messageId);
	public Integer countUnRead(User user);
}
